Skip to content

feat(archetype): scaffold lance-graph-archetype crate (DU-2.1..2.6)#254

Merged
AdaWorldAPI merged 2 commits into
mainfrom
claude/archetype-crate-scaffold
Apr 24, 2026
Merged

feat(archetype): scaffold lance-graph-archetype crate (DU-2.1..2.6)#254
AdaWorldAPI merged 2 commits into
mainfrom
claude/archetype-crate-scaffold

Conversation

@AdaWorldAPI

Copy link
Copy Markdown
Owner

$(cat <<'EOF'

Summary

  • Adds new crates/lance-graph-archetype crate to the workspace (root Cargo.toml members list).
  • Implements ECS-style scaffold per ADR-0001 Decision 1: Component trait (Arrow field projection), Processor trait (RecordBatch transform), World meta-state (tick + dataset URI, with fork/at_tick stubs for DU-2.8), CommandBroker FIFO deferred-mutation queue, and ArchetypeError (thiserror-backed).
  • All types are inside-BBB; none cross the CognitiveEventRow membrane.
  • 12 unit tests pass; zero compile errors.

Deviation from plan spec

Cargo.toml uses explicit arrow = "57" and thiserror = "2" rather than { workspace = true } because the workspace has no [workspace.dependencies] table today. Versions are consistent with the rest of the codebase.

Test plan

  • cargo check -p lance-graph-archetype — clean
  • cargo test -p lance-graph-archetype — 12/12 pass
  • DU-2.7 (Entity wiring + CommandBroker apply) — future PR
  • DU-2.8 (World::fork / at_tick via lance::checkout) — future PR

https://claude.ai/code/session_01SbYsmmbPf9YQuYbHZN52Zh
EOF
)


Generated by Claude Code

claude and others added 2 commits April 24, 2026 20:19
Adds the Archetype Transcode Crate to the workspace: ECS-style Component
+ Processor traits, World meta-state, CommandBroker deferred-mutation queue,
and ArchetypeError — all Arrow-backed, inside-BBB. 12 unit tests pass.
Workspace member entry added to root Cargo.toml.

https://claude.ai/code/session_01SbYsmmbPf9YQuYbHZN52Zh
@AdaWorldAPI AdaWorldAPI merged commit e387342 into main Apr 24, 2026
0 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants